package com.cspm.ahjy.bc.office.word.domain;

/**
 * 边框对象
 * @author ServerZhang
 * @date 2017年9月30日
 */
public class MSBorder {
	
	private String type = "single";//默认边框样式single
	private Integer size = 0; //
	private Integer width = 0; //
	private Integer space = 0; //
	private String color = "000000"; //颜色
	private Boolean shadow = Boolean.FALSE;//阴影
	
	public MSBorder(){
		
	}
	
	public Boolean equals(MSBorder border){
		if (null == border) {
			return false;
		}
		if (type.equals(border.getType())
				&& size.equals(border.getSize())
				&& width.equals(border.getWidth())
				&& space.equals(border.getSpace())
				&& color.equals(border.getColor())
				&& shadow.equals(border.getShadow())) {
			return true;
		}
		return false;
	}

	public Boolean getShadow() {
		return shadow;
	}

	public void setShadow(Boolean shadow) {
		this.shadow = shadow;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getSize() {
		return size;
	}

	public void setSize(Integer size) {
		this.size = size;
	}

	public Integer getWidth() {
		return width;
	}

	public void setWidth(Integer width) {
		this.width = width;
	}

	public Integer getSpace() {
		return space;
	}

	public void setSpace(Integer space) {
		this.space = space;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}
	
	

}
